package com.itheima.controller;

import com.itheima.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/account")
public class AccountController {
    @Autowired
    AccountService accountService;

   @RequestMapping("/test")
   public String save(){
       System.out.println("save");
       accountService.test();
       return "success";
   }

}
